package com.p2p.system.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.p2p.model.entity.Userinfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.p2p.model.vo.SysUserQueryVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户信息表 Mapper 接口
 * </p>
 *
 * @author 黄旭彬
 * @since 2023-12-10
 */
public interface UserinfoMapper extends BaseMapper<Userinfo> {

    IPage<Userinfo> selectUserPage(Page<Userinfo> pageParam,@Param("vo") SysUserQueryVo sysUserQueryVo);

    com.p2p.system.entity.Userinfo getByPhone(String phone);
}
